/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.inheritance.model;

import za.ac.cput.assignment2.inheritance.service.Animal;

/**
 *
 * @author Matthew
 */
abstract public class Reptile implements Animal {
    private boolean poisonous;
    private boolean fourLegged;
    private String subGroup;

    public Reptile() {
    }

    public Reptile(boolean poisonous, boolean fourLegged, String subGroup) {
        this.poisonous = poisonous;
        this.fourLegged = fourLegged;
        this.subGroup = subGroup;
    }

    
    public boolean isFourLegged() {
        return fourLegged;
    }

    public void setFourLegged(boolean fourLegged) {
        this.fourLegged = fourLegged;
    }

    public boolean isPoisonous() {
        return poisonous;
    }

    public void setPoisonous(boolean poisonous) {
        this.poisonous = poisonous;
    }

    public String getSubGroup() {
        return subGroup;
    }

    public void setSubGroup(String subGroup) {
        this.subGroup = subGroup;
    }
    
    
    
}
